.class public Lcom/xingbook/ui/a/n;
.super Lcom/xingbook/ui/a/c;


# annotations
.annotation build Landroid/annotation/SuppressLint;
    value = {
        "ViewConstructor"
    }
.end annotation


# static fields
.field private static p:[I


# instance fields
.field private n:I

.field private o:Landroid/widget/ImageView;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    const/4 v0, 0x4

    new-array v0, v0, [I

    fill-array-data v0, :array_0

    sput-object v0, Lcom/xingbook/ui/a/n;->p:[I

    return-void

    nop

    :array_0
    .array-data 0x4
        0xa1t 0x1t 0x2t 0x7ft
        0x6t 0x0t 0x4t 0x7ft
        0x7t 0x0t 0x4t 0x7ft
        0x5t 0x0t 0x4t 0x7ft
    .end array-data
.end method

.method public constructor <init>(Landroid/content/Context;Lcom/xingbook/ui/b/a;Lcn/a/a/b/b;Lcom/xingbook/c/e;)V
    .locals 4

    const/4 v3, 0x0

    invoke-direct {p0, p1, p2, p3, p4}, Lcom/xingbook/ui/a/c;-><init>(Landroid/content/Context;Lcom/xingbook/ui/b/a;Lcn/a/a/b/b;Lcom/xingbook/c/e;)V

    check-cast p3, Lcn/a/a/b/f;

    invoke-virtual {p3}, Lcn/a/a/b/f;->a()I

    move-result v0

    iput v0, p0, Lcom/xingbook/ui/a/n;->n:I

    new-instance v0, Landroid/widget/ImageView;

    invoke-direct {v0, p1}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/ui/a/n;->o:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/xingbook/ui/a/n;->o:Landroid/widget/ImageView;

    iget v1, p0, Lcom/xingbook/ui/a/n;->i:I

    iget v2, p0, Lcom/xingbook/ui/a/n;->h:I

    invoke-virtual {v0, v3, v3, v1, v2}, Landroid/widget/ImageView;->layout(IIII)V

    iget-object v0, p0, Lcom/xingbook/ui/a/n;->o:Landroid/widget/ImageView;

    sget-object v1, Lcom/xingbook/ui/a/n;->p:[I

    iget v2, p0, Lcom/xingbook/ui/a/n;->n:I

    rem-int/lit8 v2, v2, 0x4

    aget v1, v1, v2

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    iget-object v0, p0, Lcom/xingbook/ui/a/n;->o:Landroid/widget/ImageView;

    invoke-virtual {p0, v0}, Lcom/xingbook/ui/a/n;->addView(Landroid/view/View;)V

    return-void
.end method


# virtual methods
.method public c()V
    .locals 0

    invoke-super {p0}, Lcom/xingbook/ui/a/c;->c()V

    return-void
.end method

.method public d()V
    .locals 1

    iget v0, p0, Lcom/xingbook/ui/a/n;->n:I

    rem-int/lit8 v0, v0, 0x4

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/a/n;->o:Landroid/widget/ImageView;

    invoke-virtual {v0}, Landroid/widget/ImageView;->getBackground()Landroid/graphics/drawable/Drawable;

    move-result-object v0

    check-cast v0, Landroid/graphics/drawable/AnimationDrawable;

    invoke-virtual {v0}, Landroid/graphics/drawable/AnimationDrawable;->start()V

    :cond_0
    invoke-super {p0}, Lcom/xingbook/ui/a/c;->d()V

    return-void
.end method

.method public e()V
    .locals 1

    invoke-super {p0}, Lcom/xingbook/ui/a/c;->e()V

    iget v0, p0, Lcom/xingbook/ui/a/n;->n:I

    rem-int/lit8 v0, v0, 0x4

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/a/n;->o:Landroid/widget/ImageView;

    invoke-virtual {v0}, Landroid/widget/ImageView;->getBackground()Landroid/graphics/drawable/Drawable;

    move-result-object v0

    check-cast v0, Landroid/graphics/drawable/AnimationDrawable;

    invoke-virtual {v0}, Landroid/graphics/drawable/AnimationDrawable;->isRunning()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/a/n;->o:Landroid/widget/ImageView;

    invoke-virtual {v0}, Landroid/widget/ImageView;->getBackground()Landroid/graphics/drawable/Drawable;

    move-result-object v0

    check-cast v0, Landroid/graphics/drawable/AnimationDrawable;

    invoke-virtual {v0}, Landroid/graphics/drawable/AnimationDrawable;->stop()V

    :cond_0
    return-void
.end method

.method public f()V
    .locals 0

    invoke-super {p0}, Lcom/xingbook/ui/a/c;->f()V

    return-void
.end method

.method public g()V
    .locals 0

    invoke-super {p0}, Lcom/xingbook/ui/a/c;->g()V

    return-void
.end method
